<template>
  <div>
    <HmSubmit ref="sonForm"></HmSubmit>
    <button @click="submitForm" >提交</button>
   </div>
</template>
 
<script>
import HmSubmit from './components/HmSubmit.vue'
export default {
  components: {
    HmSubmit
  },
  methods: {
    submitForm() {
      this.$refs.sonForm.sonSubmit()
    }
 
  }
};
</script>

<style scoped>
     
</style>